package com.papers.system.domain.bo;

import com.papers.common.core.validate.AddGroup;
import com.papers.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.papers.common.core.domain.BaseEntity;

/**
 * 用户课程关联业务对象 t_juan_user_course
 *
 * @author papers
 * @date 2022-10-12
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TJuanUserCourseBo extends BaseEntity {

    /**
     * User ID
     */
    @NotBlank(message = "User ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private String userId;

    /**
     * Course ID
     */
    @NotBlank(message = "Course ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private String courseId;

    /**
     * 创建人
     */
    // @NotBlank(message = "创建人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String createdBy;

    /**
     * 创建时间
     */
    // @NotNull(message = "创建时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date createdTime;

    /**
     * 更新人
     */
    // @NotBlank(message = "更新人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String updatedBy;

    /**
     * 更新时间
     */
    // @NotNull(message = "更新时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date updatedTime;


}
